package com.hd.trans.network.bean

import android.util.ArrayMap
import com.hd.trans.network.ParamUtils
import com.hd.trans.network.bean.UserInfoBean
import okhttp3.RequestBody

data class TaskResultRequest(
    val task_id: String//自研任务标识, 用于查询任务回调结果
){
    fun makeRequestBody(userinfoBean: UserInfoBean?): RequestBody {
        val params = ParamUtils.createText2VoiceParams(ArrayMap<String, Any>().apply {
            task_id?.let {
                put("task_id", it)
            }
        }, userinfoBean)
        return params
    }
}
